package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.Orders;

import java.time.LocalDateTime;

public interface OrderService extends IService<Orders> {

    void submit(Orders orders);

    Page<Orders> paginationQuery(Integer page, Integer pageSize, Long number, LocalDateTime beginTime, LocalDateTime endTime);

    Boolean updStateInfo(Orders orders);

    Page<Orders> userPage(Integer page, Integer pageSize);

    void comeAgain(Orders orders);
}
